package org.example.sudoku.database;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import static org.example.sudoku.database.ConstantsDB.DATABASE_NAME;
import static org.example.sudoku.database.ConstantsDB.DATABASE_VERSION;;

public class SudokuDatabaseHelper extends SQLiteOpenHelper {

	
	public SudokuDatabaseHelper(Context context) {
		super(context, DATABASE_NAME, null, DATABASE_VERSION);		
	}

	@Override
	public void onCreate(SQLiteDatabase db) {
		SudokuTable.onCreate(db);

	}

	@Override
	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
		SudokuTable.onUpgrade(db, oldVersion, newVersion);

	}

}
